package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 包保配置对象 ecard_dept_package_org
 *
 * @author JHON
 * @date 2022-07-22
 */
public class EcardDeptPackageOrg extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long deptId;

    /** 支行编号 */
    @Excel(name = "包保支行编号")
    private Long orgId;
    /** 部门 */
    @Excel(name = "部门")
    private String deptName;
    /** 包保支行 */
    @Excel(name = "包保支行")
    private String orgName;
    /** 打卡范围 */
    @Excel(name = "打卡范围")
    private Integer scopeLimit;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getScopeLimit() {
        return scopeLimit;
    }

    public void setScopeLimit(Integer scopeLimit) {
        this.scopeLimit = scopeLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("orgId", getOrgId())
                .append("scopeLimit", getScopeLimit())
                .toString();
    }
}
